//
//  NTESPreviewInnerView.h
//  Netease
//
//  Created by 王方伟 on 2017/8/23.
//  Copyright © 2017年 wfw. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "NTESFiterStatusModel.h"
#import <NIMAVChat/NIMAVChat.h>


@protocol NTESPreviewInnerViewDelegate <NSObject>

@optional
- (void)onCloseLiving;
- (void)onStartLiving;
- (void)onRotate:(NIMVideoOrientation)orientation;
- (void)onCameraRotate;
- (void)onBeautifyToggle:(id)sender;
- (BOOL)interactionDisabled;

@end

@interface NTESPreviewInnerView : UIView
@property (nonatomic,weak) id<NTESPreviewInnerViewDelegate> delegate;

+ (instancetype)previewInnerView;
- (void)switchToWaitingUI;
- (void)updateBeautifyButton:(BOOL)isOn;
- (NTESFiterStatusModel *)getFilterModel;
@end
